package com.ddwl.schema.vo.goods;

import com.ddwl.schema.vo.base.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * @author Fu Zhaohui
 * @version 1.0.0
 * @date 2019/8/8 9:17
 */
@ApiModel(description = "分类Vo")
@Setter
@Getter
public class CategoryVo extends BaseVo {

    @ApiModelProperty("ID")
    private String id;
    @ApiModelProperty("商户ID")
    private String mchId;
    @ApiModelProperty("商户名称")
    private String mchName;
    @ApiModelProperty("分类名称")
    private String name;
    @ApiModelProperty("分类图标")
    private String icon;
    @ApiModelProperty("父级ID")
    private String pid;
    @ApiModelProperty("热销标识")
    private Boolean hotFlag;
    @ApiModelProperty("子菜单")
    private List<CategoryVo> children;
    @ApiModelProperty("排序")
    private Integer sort;
    @ApiModelProperty("媒体类型（0图片 1视频）")
    private Integer mediaType;
    @ApiModelProperty("媒体url")
    private String mediaUrl;
    @ApiModelProperty("供应商Id")
    private String supplierId;
    @ApiModelProperty("app分类图标")
    private String appIcon;
    @ApiModelProperty("分类code 从最上级分类开始用斜杠拼接到所选择的分类为止 如： 一级分类id/二级分类id/...")
    private String categoryCode;
}
